//
//  AchievementModel.m
//  NewPro
//
//  Created by 何荧红 on 2018/10/24.
//  Copyright © 2018 何荧红. All rights reserved.
//

#import "AchievementModel.h"

@implementation AchievementModel

@end

@implementation AchievementDetailModel

- (void)setValue:(id)value forKey:(NSString *)key{
    if ([key isEqualToString:@"newMerchants"]) {
        [super setValue:value forKey:@"Merchants"];
    }else if ([key isEqualToString:@"newPartners"]){
        [super setValue:value forKey:@"Partners"];
    }else {
        [super setValue:value forKey:key];
    }
}

@end
